package com.ebuy.it.execludedemo.service.impl;

import com.ebuy.it.execludedemo.entity.Student;
import com.ebuy.it.execludedemo.mapper.StudentMapper;
import com.ebuy.it.execludedemo.service.IStudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Gerante
 * @since 2019-04-04
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements IStudentService {
    @Resource
    private StudentMapper studentMapper;
    @Resource
    private IStudentService studentService;
    @Override
    public Boolean insertStudentInfo(Student student) {
        Boolean a = studentService.save(student);
        return a;
    }
}
